public class Test08 {
    static void main() {
        int num = 15;
        for (int i = 2; i < num; i++) {
            if (num % i == 0) {
                System.out.println("不是素数");
                break;
            }
            if (i == num - 1) {
                System.out.println("是素素");
            }
        }
    }
}
